package cn.nsu.utils;

import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Map;

import org.apache.struts2.util.StrutsTypeConverter;
import org.restlet.engine.converter.DefaultConverter;

import com.opensymphony.xwork2.conversion.TypeConverter;

public class StringToDateConvverter   extends   StrutsTypeConverter{

	@Override
	public Object convertFromString(Map arg0, String[] arg1, Class clas) {
	
		for (String string : arg1) {
			System.out.println("-------------");
			System.out.println(string);
			System.out.println("-------------");
		}
		return null;
	}

	@Override
	public String convertToString(Map arg0, Object arg1) {
		return null;
	}

	


}
